﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<iBuproModel.Project>>" %>
<%@ Import Namespace="IBupro.Extensions" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Lector
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%: Html.Translate("diplomProjects") %> </h2>
    
    <script language="javascript" type="text/javascript">
    	    $(function () {
    	        $("#tabs").tabs();
    	    });
	</script>
     <p>
        <%: Html.ActionLink(Html.Translate("createNew"), "Create","DiplomProject")%>
    </p>
    <div id="tabs">
	    <ul>
            <li><a href="#tabs-1"><%: Html.Translate("freeProjects") %></a></li>
		    <li><a href="#tabs-2"><%: Html.Translate("bookedProject") %></a></li>
		    <li><a href="#tabs-3"><%: Html.Translate("departmentPrincipalAcceptPendingProjects") %></a></li>
		    <li><a href="#tabs-4"><%: Html.Translate("acceptedProjects") %></a></li>
	    </ul>
    <div id="tabs-1">
		<h3><%: Html.Translate("freeProjects") %> </h3>
        <div>
            <% Html.RenderAction("LectorNewDiplomProjects"); %>
        </div>
	</div>
	<div id="tabs-2">
		<h3><%: Html.Translate("bookedProject") %> </h3>
        <div>
            <% Html.RenderAction("BookedDiplomProjects"); %>
        </div>
	</div>
	<div id="tabs-3">
        <h3><%: Html.Translate("departmentPrincipalAcceptPendingProjects") %> </h3>
        <div>
            <% Html.RenderAction("LectorAcceptedDiplomProjects"); %>
        </div>
	</div>
	<div id="tabs-4">
		<h3><%: Html.Translate("acceptedProjects") %> </h3>
        <div>
            <% Html.RenderAction("LectorSubscribedDiplomProjects"); %>
        </div>
	</div>
</div>

    


    <!--
    
    -->
</asp:Content>

